// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import VueTouch from 'vue-touch'
import echarts from 'echarts'
import Axios from 'axios'
import {post,get} from "./requst"
import store from './store'//引入store

Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.use(VueTouch, {name: 'v-touch'})
Vue.prototype.$echarts = echarts


Vue.prototype.axios= Axios
Vue.prototype.$post=post;
Vue.prototype.$get=get;
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,//使用store
  components: { App },
  template: '<App/>'
})
